package xyz.playedu.resource.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import xyz.playedu.common.types.paginate.ResourceTextPaginateFilter;
import xyz.playedu.resource.domain.Resource;
import xyz.playedu.resource.domain.ResourceText;

import java.util.List;

/**
 * @author tengteng
 * @description 针对表【resource_text】的数据库操作Mapper
 * @createDate 2023年12月4日 20点00分
 */
@Mapper
public interface ResourceTextMapper  extends BaseMapper<ResourceText> {
    List<Resource> paginate(ResourceTextPaginateFilter filter);

    Long paginateCount(ResourceTextPaginateFilter filter);

    List<String> paginateType(ResourceTextPaginateFilter filter);
}
